package cn.lxh.basic.utils;

import cn.lxh.org.domain.Department;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * 用于高级查询
 *  分页
 * 保存数据
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class PageList<T>{

    private Integer total;
    private List<T> rows;
}
